package connect;

import redis.clients.jedis.Jedis;

public class GetTest {
	public static void main(String[] args) {
		Jedis jedis = new Jedis("10.3.200.43",6379);
		String result = jedis.ping();
		System.out.println(result);
		jedis.set("a", "abc");
		String a = jedis.get("a");
		System.out.println(a);
		jedis.close();
	}
}
